package com.zuipin.vo;

import java.math.BigDecimal;
import java.util.List;

import com.zuipin.enums.BusinessType;
import com.zuipin.enums.ProductType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 后台通用SKU（详情）
 * @author admin
 *
 */
@ApiModel(description = "后台通用SKU（详情）")
public class BackProductInfoDetailVo {
	private Long						id;						// ID ------product_info
	private String						proNo;
	private String						proSku;					// 商品编号 ------product_info --------------【xx体验品需要编辑的】
	private Long						catId;					// 品类ID(商品分类) ------product_info
	private String						catName;
	private ProductType					proType;				// 类型 【正常类型/体验品】 ------product_info
	private String						proName;				// 商品名称 ------product_info --------------【体验品需要编辑的】
	private Long						supplierId;				// 供应商ID----product_info ----------------【体验品需要编辑的】
	private String						supplierName;			// 供应商名字----product_info ---------------【体验品需要编辑的】
	private String						supplierCatName;		// 供应商定义品名 ------product_info
	private String						unint;					// 单位 ------product_info -----------------【体验品需要编辑的】
	private String						specifications;			// 规格 ------product_info -----------------【体验品需要编辑的】
	private BigDecimal					weight;					// 毛重 ----product_info -------------------【体验品需要编辑的 判断是否可以创建属性】
	private BigDecimal					netWeight;				// 净重
	private BusinessType				businessType;			// 模式 【自营/联营】 ------product_info -------【体验品需要编辑的】
	private Short						isVirtual;				// 是否虚拟商品 1是 0否 ------product_info
	private Long						brandId;				// 品牌ID------product_info-----------------【体验品需要编辑的】
	private String						brandName;
	private Short						isExchangeIntegral;		// 是否积分兑换 ------product_info-----------------【体验品需要编辑的】
	private Short						status;					// 1激活 2 冻结 ------product_info
	private Long						updateId;				//
	private List<BackProInfoPropertyVo>	catProps;				// 品类-通用属性信息集合------product_property_value
	private List<BackProInfoPrice>		backProInfoPrices;		// 价格---product_price-----------------【体验品需要编辑的】
	
	private Long						erpProId;				// erp商品Id
	
	private Long						erpCatId;				// erp分类id
	
	public static final Short			YES_VIRTUAL	= (short) 1;
	
	@ApiModelProperty(value = "ID")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "商品编号")
	public String getProNo() {
		return proNo;
	}
	
	public void setProNo(String proNo) {
		this.proNo = proNo;
	}
	
	@ApiModelProperty(value = "商品SKU")
	public String getProSku() {
		return proSku;
	}
	
	public void setProSku(String proSku) {
		this.proSku = proSku;
	}
	
	@ApiModelProperty(value = "品类ID(商品分类)")
	public Long getCatId() {
		return catId;
	}
	
	public void setCatId(Long catId) {
		this.catId = catId;
	}
	
	@ApiModelProperty(value = "名称(商品分类)")
	public String getCatName() {
		return catName;
	}
	
	public void setCatName(String catName) {
		this.catName = catName;
	}
	
	@ApiModelProperty(value = "类型 【正常类型/体验品】")
	public ProductType getProType() {
		return proType;
	}
	
	public void setProType(ProductType proType) {
		this.proType = proType;
	}
	
	@ApiModelProperty(value = "商品名称【体验品需要编辑的】")
	public String getProName() {
		return proName;
	}
	
	public void setProName(String proName) {
		this.proName = proName;
	}
	
	@ApiModelProperty(value = "供应商ID【体验品需要编辑的】")
	public Long getSupplierId() {
		return supplierId;
	}
	
	public void setSupplierId(Long supplierId) {
		this.supplierId = supplierId;
	}
	
	@ApiModelProperty(value = "供应商名字【体验品需要编辑的】")
	public String getSupplierName() {
		return supplierName;
	}
	
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}
	
	@ApiModelProperty(value = "供应商定义品名")
	public String getSupplierCatName() {
		return supplierCatName;
	}
	
	public void setSupplierCatName(String supplierCatName) {
		this.supplierCatName = supplierCatName;
	}
	
	@ApiModelProperty(value = "单位【体验品需要编辑的】")
	public String getUnint() {
		return unint;
	}
	
	public void setUnint(String unint) {
		this.unint = unint;
	}
	
	@ApiModelProperty(value = "规格【体验品需要编辑的】")
	public String getSpecifications() {
		return specifications;
	}
	
	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}
	
	@ApiModelProperty(value = "毛重【体验品需要编辑的】")
	public BigDecimal getWeight() {
		return weight;
	}
	
	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}
	
	@ApiModelProperty(value = "净重")
	public BigDecimal getNetWeight() {
		return netWeight;
	}
	
	public void setNetWeight(BigDecimal netWeight) {
		this.netWeight = netWeight;
	}
	
	@ApiModelProperty(value = "模式 【自营/联营】【体验品需要编辑的】")
	public BusinessType getBusinessType() {
		return businessType;
	}
	
	public void setBusinessType(BusinessType businessType) {
		this.businessType = businessType;
	}
	
	/*@ApiModelProperty(value = "联营结算价【体验品需要编辑的】")
	public BigDecimal getBusPoolPrice() {
		return busPoolPrice;
	}
	
	public void setBusPoolPrice(BigDecimal busPoolPrice) {
		this.busPoolPrice = busPoolPrice;
	}*/
	
	@ApiModelProperty(value = "是否虚拟商品 1是 0否")
	public Short getIsVirtual() {
		return isVirtual;
	}
	
	public void setIsVirtual(Short isVirtual) {
		this.isVirtual = isVirtual;
	}
	
	@ApiModelProperty(value = "品牌ID")
	public Long getBrandId() {
		return brandId;
	}
	
	public void setBrandId(Long brandId) {
		this.brandId = brandId;
	}
	
	@ApiModelProperty(value = "品牌名称")
	public String getBrandName() {
		return brandName;
	}
	
	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}
	
	@ApiModelProperty(value = "品类-通用属性信息集合")
	public List<BackProInfoPropertyVo> getCatProps() {
		return catProps;
	}
	
	public void setCatProps(List<BackProInfoPropertyVo> catProps) {
		this.catProps = catProps;
	}
	
	@ApiModelProperty(value = "价格s【体验品需要编辑的】")
	public List<BackProInfoPrice> getBackProInfoPrices() {
		return backProInfoPrices;
	}
	
	public void setBackProInfoPrices(List<BackProInfoPrice> backProInfoPrices) {
		this.backProInfoPrices = backProInfoPrices;
	}
	
	@ApiModelProperty(value = "1激活 2 冻结【体验品需要编辑的】")
	public Short getStatus() {
		return status;
	}
	
	public void setStatus(Short status) {
		this.status = status;
	}
	
	@ApiModelProperty(value = "是否积分兑换【体验品需要编辑的】")
	public Short getIsExchangeIntegral() {
		return isExchangeIntegral;
	}
	
	public void setIsExchangeIntegral(Short isExchangeIntegral) {
		this.isExchangeIntegral = isExchangeIntegral;
	}
	
	@ApiModelProperty(value = "修改人ID")
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "erp的商品Id")
	public Long getErpProId() {
		return erpProId;
	}
	
	public void setErpProId(Long erpProId) {
		this.erpProId = erpProId;
	}
	
	@ApiModelProperty(value = "erp的分类Id")
	public Long getErpCatId() {
		return erpCatId;
	}
	
	public void setErpCatId(Long erpCatId) {
		this.erpCatId = erpCatId;
	}
	
}
